|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjp.co.ricoh.dsdk.scard.framework.util.APDU
This is the class that encapsulates an APDU(Application Protocol Data Unit).
| Field Summary | |
protected byte[] |
buffer
A buffer containing an APDU. |
| Constructor Summary | |
APDU()
Constructs an APDU object that is initialized by a null buffer. |
|
APDU(APDU apdu)
Constructs an APDU object that is initialized by an APDU parameter. |
|
APDU(byte[] buffer)
Constructs an APDU object that is initialized by a buffer parameter. |
|
| Method Summary | |
void |
append(byte value)
Adds a byte value at the end of an APDU. |
void |
append(byte[] buffer)
Adds a buffer at the end of an APDU.. |
boolean |
equals(java.lang.Object arg0)
|
byte |
getByte(int index)
Obtains the value of a specified position in an APDU. |
int |
getLength()
Returns the length of an APDU in the byte. |
int |
hashCode()
|
void |
setByte(int index,
byte value)
Specifies a value to a specified position in an APDU. |
void |
setLength(int length)
Changes the length of an APDU. |
byte[] |
toBytes()
. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected byte[] buffer
| Constructor Detail |
public APDU()
public APDU(byte[] buffer)
buffer -
a buffer initializing this object.public APDU(APDU apdu)
apdu -
an APDU object initializing this object.| Method Detail |
public final int getLength()
public final void setLength(int length)
length -
the new length of an APDU specified in the byte.public final byte getByte(int index)
index -
a position in an APDU.
public final void setByte(int index,
byte value)
index -
a position in an APDU.value -
a value.public final void append(byte value)
value -
a byte value to add.public final void append(byte[] buffer)
buffer -
a buffer to add.public final byte[] toBytes()
public boolean equals(java.lang.Object arg0)
public int hashCode()
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||